﻿using System;
using System.Windows.Forms;

namespace WindowsApplication2._18_设计模式.单例模式._1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Form2 f2 = Form2.get_instance();
            f2.Show();
        }
    }
}